﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;

namespace WaterRevenueMS.Componnent.Data.Mapping.BasicSet
{
    //附加项目
    partial class AdditionItemMap
    {
        partial void AdditionItemMapAppend()
        {
            this.HasKey(t => t.Id);
            this.Property(t => t.Fu_JXM)
                .HasMaxLength(120);

            this.ToTable("Set_Fu_JXM");
            this.Property(t => t.Id).HasColumnName("Fu_JXM_ID")
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);


            this.HasOptional(t => t.KindOfWaterUse).WithMany(d => d.AdditionItem).HasForeignKey(t => t.Yong_SLX_No);//用水类型ID
        }
    }
}
